package com.vueblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 订单总价
 * @TableName t_order_total
 */
@TableName(value ="t_order_total")
@Data
public class OrderTotal implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单编号
     */
    @TableId
    private String orderNo;

    /**
     * 总价
     */
    private Double total;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}